#include <stdio.h>
#include "stm32f10x.h"
#include "delay.h"
#include "app.h"

int count = 0;

int main(void)
{
	delay_init();
	NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);
	app_uart1_init(115200);
	app_EXTI_init();
	
	while(1){
		delay_ms(1000);
		printf("cout: %d\r\n",count++);	
	}
}
